//
//  readViewController.m
//  BooksViewTable
//
//  Created by mac on 15-12-15.
//  Copyright (c) 2015年 yb. All rights reserved.
//

#import "readViewController.h"

@interface readViewController ()
{
    UITextView *tv;
}
@end

@implementation readViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    
    CGRect rect = self.view.bounds;
    rect.origin.x = 0;
    rect.size.height -= 64 + 44;
    tv = [[UITextView alloc] initWithFrame:rect];
    tv.text = _text;
    tv.font =[tv.font fontWithSize:20.0];
    tv.editable = NO;
    tv.scrollEnabled = NO;
    [self.view addSubview:[UIView new]];
    [self.view addSubview:tv];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
